package com.ctshk.rpc.ship.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.PageResponse;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.ship.dto.ShipRouteDTO;
import com.ctshk.rpc.ship.req.ShipRoutePageReq;
import com.ctshk.rpc.ship.req.ShipRouteReq;

/**
 * <p>
 * 船-航线表 服务类
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-03-05
 */
public interface IShipRouteService {


    PageResponse<ShipRouteDTO> queryShipRouteList(ShipRoutePageReq req);

    Result<ShipRouteDTO> queryShipRouteDetail(ShipRoutePageReq req);

    Result saveShipRoute(ShipRouteReq shipRouteReq, TokenUser user);

    Result updateShipRoute(ShipRouteReq shipRouteReq, TokenUser user);

    Result updateShipRouteStatus(ShipRouteReq shipRouteReq, TokenUser user);
}
